<ion-view view-title="秒杀详情" class="seckilldetail">
	<ion-content>
		<div class="font-large-my font-gray-my text-center padding" ng-show="msg!=''">
			<i class="icon ion-sad-outline font-1rem-my"></i> {{msg}}
			</div>
	</ion-content>
	<!--描述：滑动块-->
	<ion-content scroll="true" ng-show="msg==''">
		<!--<ion-scroll direction="y" ng-style="myObj" lazy-scroll>-->
			<!--描述：下拉刷新-->
			<!--<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>-->
			<!--描述：轮播广告-->
			<ion-slide-box delegate-handle="advs-handle" auto-play="true" does-continue="true" slide-interval="5000" show-pager="true" pager-click="advsgo(index)" lazy-scroll>
				<ion-slide ng-repeat="obj in datas.image">
					<div class="box">
						<img image-lazy-src="{{obj.image}}" style="width: 100%;height: 100%;"/>
					</div>
				</ion-slide>
			</ion-slide-box>
			
			<!--描述：内容信息-->
			<div class="info">
				<div class="title">{{datas.name}}
					<span class="names" ng-show="datas.act_type=='ended'&&datas.lottery_status=='true'" on-tap="show_apply()">中奖名单</span>
					<span class="names" ng-show="datas.act_type=='ended'&&datas.lottery_status!='true'" style="background: #777777;">活动未开奖</span>
				</div>
				<div class="line-bottom" style="margin: 0.5rem 0;"></div>
				<div class="item desc">
					<div class="t-desc">简介：</div>
					<div class="n-desc">{{datas.introduction}}</div>
				</div>
				<div class="link" ng-repeat="group in datas.groups"><span ng-class="{invisible:$index>0}">
					活动群：
				</span><span class="positive" style="color: #387ef5;" on-tap="go_exchangechat(group.group_id,group.is_group_member)">
					<!--<i class="iconfont icon-qq"></i>-->
					{{group.group_name}}</span></div>
				<!--<div class="link">开始时间：<span>{{datas.start_time*1000|date:"yyyy-MM-dd HH:mm"}}</span></div>-->
				<!--<div class="link">结束时间：<span>{{datas.end_time*1000|date:"yyyy-MM-dd HH:mm"}}</span></div>-->
				<div class="link">{{act_time_name}}：<span class="assertive">{{datas.formate_time}}</span></div>
				<!--<div class="box-show">
					<span class="num">活动被关注数：<span class="assertive">{{datas.follow_count}}</span></span>
					<span class="num">活动成交数：<span class="assertive">{{datas.deal_count}}</span></span>
				</div>-->
			</div>
			<!--描述：其他秒杀-->
			<div class="other margin-top-10">秒杀商品</div>
			<!--描述：列表-->
			<div class="list single">
				<div class="item item-thumbnail-left" ng-repeat="goods in datas.goods" on-tap="go_goods(goods.id,goods.product_id)">
					<!--<div ng-repeat="image in good.image">-->
						<img  src="{{goods.image[0].image}}">
					<!--</div>-->
					
					<div class="title" >
						<span style="white-space: normal;">
							{{goods.name}}
						</span><i class="icon ion-ios-arrow-right" style="float: right;"></i></div>
					<div class="status">
						<span class="price">价格：<span class="assertive">{{goods.price|currency:'¥'}}</span></span>
						<!--<span class="price del">原始价：<span class="assertive">{{goods.price|currency:'¥'}}</span></span>-->
					</div>
					<!--<div class="status">
						<span class="num">库存：<span class="assertive">{{goods.store}}</span></span>
						<span class="num">限购：<span class="assertive">{{goods.limit_buy_num}}</span></span>
					</div>-->
					<div class="status" >
						<span class="num">已销售订单{{goods.saleCount?goods.saleCount:0}}笔</span>
					</div>
					<!--数量-->
					<!--<div class="number">
						<div class="ctrl">
							<div class="act b-left" on-tap="sub(goods.id)">-</div>
							<div class="ins"><input type="text"  maxlength="6" ng-model="goods.count" keyboard-attach/></div>
							<div class="act b-right" on-tap="add(goods.store,goods.limit_buy_num,goods.id)">+</div>
						</div>
						<span class="btn assertive-bg light">立即购买</span>
					</div>-->
				</div>
			</div>
			<!--描述：当用户到达页脚或页脚附近时-->
			<!--<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>-->
		<!--</ion-scroll>-->
	</ion-content>
	
		<!--弹窗，通过点击控制，为了避免弹窗显示时，底部内容也能滚动，必须将这些弹窗放在ion-content外-->
		<div ng-hide="isHide" class="kuang_zhang padding">
	      <div ng-include="'templates/worldservice/winning_template.html'"></div>
		</div>
		
		<!--透明背景，当弹窗出现时，该背景也跟着出现，通过点击控制-->
		<div ng-hide="isHide" class="touming_zhang" on-tap="hide_apply()"></div>
</ion-view>